<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* function Person() {}
      Person.name = "jack";
      Person.age = 20;
      Person.say = function () {}; */

      class Person {
        static name = "jack";
        static age = 20;
        static say() {
          console.log(this.name);
        }
        name = "lili";
        say() {
          console.log(this.name);
        }
      }
      Person.say();
      new Person().say();
    </script>
  </body>
</html>
